tutorial :)
1. Open UndertaleModTool and load the data.win you want to modify
2. Open gml_Object_obj_player_Step_2
3. Copy the mod code with your preffered keybinds from the bottom of this file and paste it at the end of the script
4. Save the data.win and exit UndertaleModTool
Yeah i stole it.
Mod code:

if (keyboard_check_pressed(ord("1")))
{
    sprite_index = spr_player_idle;
    global.noisejetpack = 0;
    shotgunAnim = 0;
    isgustavo = 0;
    ghostdash = 0;
    ghostpepper = 0;
    brick = 0;
    state = 0;
    global.pistol = false;
}

if (keyboard_check_pressed(ord("2")))
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 47)
        state = 0;
    else
        state = 47;
    
    grounded = 0;
}

if (keyboard_check_pressed(ord("3")))
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 10)
        state = 0;
    else
        state = 10;
}

if (keyboard_check_pressed(ord("5")))
{
    ghostdash = 1;
    ghostpepper = 3;
    ghosttimer = 0;
    state = 11;
}

if (keyboard_check_pressed(ord("4")))
{
    ghostdash = 1;
    ghostpepper = 3;
    ghosttimer = 0;
    ghostangle = 0;
    movespeed = hsp;
    ghostdashbuffer = 0;
    ghostdashend = false;
    ghostangle = 0;
    new_angle = ghostangle;
    
    if (state == 16)
        state = 0;
    else
        state = 16;
}

if (keyboard_check_pressed(ord("6")))
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 31)
        state = 0;
    else
        state = 31;
}

if (keyboard_check_pressed(ord("7")))
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 113)
        state = 0;
    else
        state = 113;
}

if (keyboard_check_pressed(ord("8")))
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 184)
        state = 0;
    else
        state = 184;
}

if (keyboard_check_pressed(ord("9")))
{
    ghostdash = 0;
    ghostpepper = 0;
    sprite_index = spr_cheesepepidle;
    
    if (state == 24)
        state = 0;
    else
        state = 24;
}

if (keyboard_check_pressed(ord("0")))
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 33)
        state = 0;
    else
        state = 33;
}

if (keyboard_check_pressed(189))
{
    ghostdash = 0;
    ghostpepper = 0;
    movespeed = 0;
    sprite_index = spr_player_trashstart;
    fmod_event_one_shot_3d("event:/sfx/misc/trashjump2", x, y + vsp);
    state = 210;
    vsp = -5;
}

if (keyboard_check(187))
{
    ghostdash = 0;
    ghostpepper = 0;
    state = 0;
    global.noisejetpack = 1;
}

if (keyboard_check_pressed(219))
{
    ghostdash = 0;
    ghostpepper = 0;
    state = 0;
    
    if (shotgunAnim)
        shotgunAnim = 0;
    else
        shotgunAnim = 1;
}

if (keyboard_check_pressed(221))
{
    ghostdash = 0;
    ghostpepper = 0;
    skateboarding = 1;
    clowntimer = 9999999;
    movespeed = 10;
    
    if (state == 104)
        state = 0;
    else
        state = 104;
}

if (keyboard_check_pressed(186))
{
    ghostdash = 0;
    ghostpepper = 0;
    tauntstoredratmount_movespeed = 0;
    ratmount_movespeed = 0;
    
    if (isgustavo)
    {
        isgustavo = 0;
        brick = 0;
        state = 0;
    }
    else
    {
        sprite_index = spr_player_ratmountidle;
        isgustavo = 1;
        brick = 1;
        state = 191;
    }
}

if (keyboard_check(192))
    supercharged = 1;

if (keyboard_check(vk_alt) && state == 47)
{
    shotgunAnim = 0;
    
    if (state == 5)
        state = 0;
    else
        state = 5;
    
    if (ispeppino)
        sprite_index = spr_player_tumble;
    else
        sprite_index = spr_playerN_tumble;
}

if (keyboard_check(vk_alt) && state == 10)
{
    ghostdash = 0;
    ghostpepper = 0;
    prite_index = 772;
    
    if (state == 22)
        state = 0;
    else
        state = 22;
}

if (keyboard_check(vk_alt) && state == 16)
{
    ghostdash = 0;
    ghostpepper = 0;
    prite_index = 772;
    fmod_event_one_shot_3d("event:/sfx/pep/burn", x, y + vsp);
    vsp = -15;
    state = 9;
    
    if (ispeppino)
        sprite_index = spr_player_fireass;
    else
        sprite_index = spr_playerN_fireass;
}

if (keyboard_check(vk_alt) && state == 11)
{
    ghostdash = 0;
    ghostpepper = 0;
    vsp = -15;
    
    if (ispeppino)
        sprite_index = spr_player_ratballoon;
    else
        sprite_index = spr_playerN_ratballoonfloat;
    
    image_speed = 0.35;
    hsp = movespeed;
    move = key_left + key_right;
    movespeed = Approach(movespeed, move * 6, 0.35);
    movespeed = Approach(movespeed, 0, 0.35);
    other.movespeed = other.hsp;
    other.savedmove = other.xscale;
    active = false;
    cooldown = 100;
    other.balloonbuffer = 250;
    state = 207;
}

if (keyboard_check(vk_alt) && state == 31)
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (state == 265)
        state = 0;
    else
        state = 265;
}

if (keyboard_check(vk_alt) && state == 113)
{
    ghostdash = 0;
    ghostpepper = 0;
    sprite_index = spr_pepanimatronic;
    
    if (state == 225)
        state = 0;
    else
        state = 225;
}

if (keyboard_check(vk_alt) && state == 184)
{
    ghostdash = 1;
    ghostpepper = 3;
    sprite_index = spr_player_pizzacar;
    
    if (state == 32)
        state = 0;
    else
        state = 32;
}

if (keyboard_check(vk_alt) && state == 24)
{
    ghostdash = 1;
    ghostpepper = 3;
    sprite_index = spr_meteorpep_flying;
    
    if (state == 50)
        state = 0;
    else
        state = 50;
}

if (keyboard_check(vk_alt) && state == 33)
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (ispeppino)
        sprite_index = spr_bombpep_intro;
    else
        sprite_index = spr_playerN_bomb;
    
    if (state == 51)
        state = 0;
    else
        state = 51;
}

if (keyboard_check(vk_alt) && state == 210)
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (ispeppino)
        sprite_index = spr_player_slipbanan1;
    else
        sprite_index = spr_playerN_slipbanan1;
    
    movespeed = 16;
    vsp = -6;
    
    if (state == 165)
        state = 0;
    else
        state = 165;
}

if (keyboard_check(vk_alt) && global.noisejetpack == 1)
{
    ghostdash = 0;
    ghostpepper = 0;
    
    if (ispeppino)
        sprite_index = spr_player_corpsesurf;
    else
        sprite_index = spr_playerN_corpsesurf;
    
    movespeed = 13;
    global.noisejetpack = 0;
    fmod_event_one_shot_3d("event:/sfx/pep/gravecorpsestart", x, y);
    
    if (state == 211)
        state = 0;
    else
        state = 211;
}

if (keyboard_check(vk_alt) && shotgunAnim == 1 && state == 0)
{
    ghostdash = 0;
    ghostpepper = 0;
    shotgunAnim = 0;
    
    if (ispeppino)
        sprite_index = spr_player_jetpackstart;
    else
        sprite_index = spr_playerN_noisebombspinjump;
    
    vsp = -20;
    state = 254;
}

if (keyboard_check(vk_alt) && state == 58)
{
    ghostdash = 0;
    ghostpepper = 0;
    sprite_index = spr_player_charge;
    
    if (state == 153)
        state = 0;
    else
        state = 153;
}

if (keyboard_check(vk_alt) && isgustavo == 1 && brick == 1 && state == 191)
{
    ghostdash = 0;
    ghostpepper = 0;
    tauntstoredratmount_movespeed = 0;
    ratmount_movespeed = 0;
    vsp = -5;
    isgustavo = 1;
    brick = 1;
    sprite_index = spr_player_ratmountballoon;
    fmod_event_one_shot_3d("event:/sfx/rat/grabeat", x, y);
    active = false;
    cooldown = 100;
    other.balloonbuffer = 250;
    state = 200;
}

if (keyboard_check_pressed(222))
{
    ghostdash = 0;
    ghostpepper = 0;
    tauntstoredratmount_movespeed = 0;
    ratmount_movespeed = 0;
    
    if (isgustavo)
    {
        isgustavo = 0;
        brick = 0;
        state = 0;
    }
    else
    {
        sprite_index = spr_lonegustavo_idle;
        isgustavo = 1;
        brick = 0;
        state = 191;
    }
}

if (keyboard_check(vk_alt) && isgustavo == 1 && state == 191 && brick == 0)
{
    ghostdash = 0;
    ghostpepper = 0;
    sprite_index = spr_playerN_hookshot1;
    
    if (state == 19)
        state = 0;
    else
        state = 19;
}

if (keyboard_check(220))
{
    ghostdash = 0;
    ghostpepper = 0;
    sprite_index = spr_playerN_pogobounce;
    state = 58;
    movespeed = pogospeed;
    pogospeed = 6;
    pogochargeactive = true;
    pogocharge = 100;
    flash = true;
}

if (keyboard_check(188))
{
    ghostdash = 0;
    ghostpepper = 0;
    sprite_index = spr_player_pistolidle;
    state = 0;
    global.pistol = true;
}

if (keyboard_check(190))
{
    ghostdash = 0;
    ghostpepper = 0;
    movespeed = -movespeed;
    input_buffer_shoot = 0;
    image_index = 0;
    sprite_index = spr_playerN_noisebombkick;
    fmod_event_one_shot_3d("event:/sfx/playerN/bombthrow", x, y);
    savedgrounded = grounded;
    state = 168;
    pistolcooldown = 50;
    machslideAnim = false;
    landAnim = false;
    jumpAnim = false;
    crouchslideAnim = false;
    crouchAnim = false;
    stompAnim = false;
    windingAnim = 0;
    bombthrow = false;
    jumpstop = true;
}

if (keyboard_check(191))
{
    ghostdash = 0;
    ghostpepper = 0;
    movespeed = 18;
    sprite_index = spr_player_skateboard;
    
    if (state == 77)
        state = 0;
    else
        state = 77;
}

































DONT FORGET THIS OR REVOLVER WONT WORK.
Remove the code in gml_Object_obj_baddiecollisionbox_Collision_obj_pistolbullet and put this code in:

if (instance_exists(baddieID) && !baddieID.invincible && baddieID.hp < 1)
{
    instance_destroy();
    instance_destroy(baddieID);
}
else if (instance_exists(baddieID) && !baddieID.invincible)
{
    baddieID.hp -= 1;
    global.hit += 1;
    global.combotime = 60;
    instance_create(baddieID.x, baddieID.y, obj_slapstar);
    instance_create(baddieID.x, baddieID.y, obj_baddiegibs);
    baddieID.flash = true;
    baddieID.state = UnknownEnum.Value_155;
    baddieID.stagger_buffer = baddieID.stagger_max;
    instance_create(x, y, obj_bumpeffect);
    instance_create(baddieID.x, baddieID.y, obj_bangeffect);
    baddieID.hsp = obj_player1.xscale * 5;
    baddieID.stagger_dir = -baddieID.image_xscale;
}

enum UnknownEnum
{
    Value_155 = 155
}





